<template>
	
	<view class="asset" >
		<view class="head" style="z-index: 999;">
			<view class="head_texts" @click="black()"><image src="../../../static/public/img/fh.png"
				style="width: 18px;height: 18px;position: absolute;top:33px;left: 15px;"></image>返回</view>
			<view class="ss">设置</view>
		</view>
		<view style="width: 100%;text-align: center;margin-top: 20%;">
		  <image src="../../../static/public/img/40.jpg" style="width:200px;height: 200px;"></image>
		  <view style="font-size: 12px;margin-top: 3%;">分享好友扫二维码即可下载最新版</view>
		  <view style="font-size: 12px;margin-top: 3%;color:#999;">版本号：v1.0.1</view>
		</view>
		<button style="width:90%;margin-left: 5%;font-size: 14px;background-image: linear-gradient(180deg,#e6b87a,#d49a53 80%);color: #1c1c1e;margin-top: 15%;" @click="logout">退出登录</button>

	
	</view>
</template>

<script>
	//导入组件
	export default {
		data() {
			return {

			}
		},
		methods: {
			black(){
				uni.navigateBack()
			},
			 gopayRecord(){
				 uni.navigateTo({
				 	url:'/pages/components/payRecord/payRecord'
				 })
			 },
			 logout(){
				 uni.showModal({
						content: '是否退出登录？',
						confirmColor: '#cd0006',
						success: function (res) {
							if (res.confirm) {
								console.log('用户点击确定');
								uni.navigateTo({
									url: '/pages/common/exit'//点击要跳转的页面路径
								});
								
							} else if (res.cancel) {
								console.log('用户点击取消');
							}
						}
					});
 }
		},
		onShow() {
            
		},

	}
</script>

<style lang="scss">
	page {
		background-color: #f2f2f2;
	}

	.asset {
	   .head {
	   	background: #151516 !important;
	   	color: #fff;
	   	height: 130rpx;
	   	font-size: 18px;
	   }
	   .ss {
		 text-align: center;
		 line-height: 160rpx;
		 position: absolute;
		 top: 0px;
		 left: 45%;
	   }
	   .head_texts {
	   		font-size: 14px;
	   		margin-left: 9%;
	   		line-height: 160rpx;
	   }
	

	}
</style>
